using System;
using System.Data;
using System.Data.Common;

namespace SocialLearning.BusinessLayer
{
	/// <summary>
	///This is the Base Class for all DataTable Wrappers
	/// </summary>
	public class BaseDataTableWrapper
	{
		public DataRow DataRow { get; set; }

		public BaseDataTableWrapper()
		{
		}

		public BaseDataTableWrapper(DataRow row)
			:this()
		{
			DataRow = row;
		}
	}

	#region [usp_get_t_assignment]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_assignment
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TAssignmentDtw : BaseDataTableWrapper
	{
		public Int32 AssignmentId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public Int32 SubjectId { get { if (DataRow[1] != DBNull.Value) return (Int32)DataRow[1]; else return default(Int32); } set { DataRow[1] = value; } }
		public Int32 Total { get { if (DataRow[2] != DBNull.Value) return (Int32)DataRow[2]; else return default(Int32); } set { DataRow[2] = value; } }
		public DateTime IssueDate { get { if (DataRow[3] != DBNull.Value) return (DateTime)DataRow[3]; else return default(DateTime); } set { DataRow[3] = value; } }
		public DateTime DueDate { get { if (DataRow[4] != DBNull.Value) return (DateTime)DataRow[4]; else return default(DateTime); } set { DataRow[4] = value; } }
		public String Description { get { if (DataRow[5] != DBNull.Value) return (String)DataRow[5]; else return default(String); } set { DataRow[5] = value; } }

		public TAssignmentDtw()
			:base()
		{
		}

		public TAssignmentDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_assignment]

	#region [usp_get_t_chat_group]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_chat_group
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TChatGroupDtw : BaseDataTableWrapper
	{
		public Int32 GroupId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String Name { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public String Avatar { get { if (DataRow[2] != DBNull.Value) return (String)DataRow[2]; else return default(String); } set { DataRow[2] = value; } }
		public Int32 JoinedUsers { get { if (DataRow[3] != DBNull.Value) return (Int32)DataRow[3]; else return default(Int32); } set { DataRow[3] = value; } }

		public TChatGroupDtw()
			:base()
		{
		}

		public TChatGroupDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_chat_group]

	#region [usp_get_t_content]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_content
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TContentDtw : BaseDataTableWrapper
	{
		public Int32 ContentId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String Title { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public String InfoContent { get { if (DataRow[2] != DBNull.Value) return (String)DataRow[2]; else return default(String); } set { DataRow[2] = value; } }

		public TContentDtw()
			:base()
		{
		}

		public TContentDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_content]

	#region [usp_get_t_course]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_course
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TCourseDtw : BaseDataTableWrapper
	{
		public Int32 CourseId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public DateTime StartDate { get { if (DataRow[1] != DBNull.Value) return (DateTime)DataRow[1]; else return default(DateTime); } set { DataRow[1] = value; } }
		public Int32 CurrentYear { get { if (DataRow[2] != DBNull.Value) return (Int32)DataRow[2]; else return default(Int32); } set { DataRow[2] = value; } }
		public Int32 OutstandingYears { get { if (DataRow[3] != DBNull.Value) return (Int32)DataRow[3]; else return default(Int32); } set { DataRow[3] = value; } }
		public Int32 CompletedSubjects { get { if (DataRow[4] != DBNull.Value) return (Int32)DataRow[4]; else return default(Int32); } set { DataRow[4] = value; } }
		public Int32 OutstandingSubjects { get { if (DataRow[5] != DBNull.Value) return (Int32)DataRow[5]; else return default(Int32); } set { DataRow[5] = value; } }
		public Int32 FinancialState { get { if (DataRow[6] != DBNull.Value) return (Int32)DataRow[6]; else return default(Int32); } set { DataRow[6] = value; } }
		public Int32 TotalCredits { get { if (DataRow[7] != DBNull.Value) return (Int32)DataRow[7]; else return default(Int32); } set { DataRow[7] = value; } }
		public String DetailDescription { get { if (DataRow[8] != DBNull.Value) return (String)DataRow[8]; else return default(String); } set { DataRow[8] = value; } }
		public String RequiredSubjects { get { if (DataRow[9] != DBNull.Value) return (String)DataRow[9]; else return default(String); } set { DataRow[9] = value; } }

		public TCourseDtw()
			:base()
		{
		}

		public TCourseDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_course]

	#region [usp_get_t_eid]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_eid
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TEidDtw : BaseDataTableWrapper
	{
		public Int32 InstitutionId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String InstitutionName { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public DateTime StartDate { get { if (DataRow[2] != DBNull.Value) return (DateTime)DataRow[2]; else return default(DateTime); } set { DataRow[2] = value; } }
		public DateTime EndDate { get { if (DataRow[3] != DBNull.Value) return (DateTime)DataRow[3]; else return default(DateTime); } set { DataRow[3] = value; } }
		public String UserId { get { if (DataRow[4] != DBNull.Value) return (String)DataRow[4]; else return default(String); } set { DataRow[4] = value; } }

		public TEidDtw()
			:base()
		{
		}

		public TEidDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_eid]

	#region [usp_get_t_feed]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_feed
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TFeedDtw : BaseDataTableWrapper
	{
		public Int32 FeedId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String FeedIcon { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public String FeedTitle { get { if (DataRow[2] != DBNull.Value) return (String)DataRow[2]; else return default(String); } set { DataRow[2] = value; } }
		public DateTime FeedDate { get { if (DataRow[3] != DBNull.Value) return (DateTime)DataRow[3]; else return default(DateTime); } set { DataRow[3] = value; } }
		public String UserId { get { if (DataRow[4] != DBNull.Value) return (String)DataRow[4]; else return default(String); } set { DataRow[4] = value; } }
		public String FeedContent { get { if (DataRow[5] != DBNull.Value) return (String)DataRow[5]; else return default(String); } set { DataRow[5] = value; } }

		public TFeedDtw()
			:base()
		{
		}

		public TFeedDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_feed]

	#region [usp_get_t_group]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_group
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TGroupDtw : BaseDataTableWrapper
	{
		public Int32 GroupId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String GroupName { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }

		public TGroupDtw()
			:base()
		{
		}

		public TGroupDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_group]

	#region [usp_get_t_message]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_message
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TMessageDtw : BaseDataTableWrapper
	{
		public Int32 MessageId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public Int32 IsPublic { get { if (DataRow[1] != DBNull.Value) return (Int32)DataRow[1]; else return default(Int32); } set { DataRow[1] = value; } }
		public DateTime MessageTime { get { if (DataRow[2] != DBNull.Value) return (DateTime)DataRow[2]; else return default(DateTime); } set { DataRow[2] = value; } }
		public DateTime MessageDate { get { if (DataRow[3] != DBNull.Value) return (DateTime)DataRow[3]; else return default(DateTime); } set { DataRow[3] = value; } }
		public Int32 UserGroupId { get { if (DataRow[4] != DBNull.Value) return (Int32)DataRow[4]; else return default(Int32); } set { DataRow[4] = value; } }
		public String MessageContent { get { if (DataRow[5] != DBNull.Value) return (String)DataRow[5]; else return default(String); } set { DataRow[5] = value; } }

		public TMessageDtw()
			:base()
		{
		}

		public TMessageDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_message]

	#region [usp_get_t_previous_subjects]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_previous_subjects
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TPreviousSubjectsDtw : BaseDataTableWrapper
	{
		public Int32 SubjectId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String SubjectName { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public String SubjectCode { get { if (DataRow[2] != DBNull.Value) return (String)DataRow[2]; else return default(String); } set { DataRow[2] = value; } }
		public String NqfLevel { get { if (DataRow[3] != DBNull.Value) return (String)DataRow[3]; else return default(String); } set { DataRow[3] = value; } }
		public String SubjectResult { get { if (DataRow[4] != DBNull.Value) return (String)DataRow[4]; else return default(String); } set { DataRow[4] = value; } }
		public Int32 InstitutionId { get { if (DataRow[5] != DBNull.Value) return (Int32)DataRow[5]; else return default(Int32); } set { DataRow[5] = value; } }

		public TPreviousSubjectsDtw()
			:base()
		{
		}

		public TPreviousSubjectsDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_previous_subjects]

	#region [usp_get_t_resource]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_resource
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TResourceDtw : BaseDataTableWrapper
	{
		public Int32 ResourceId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String ContentLink { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public String ResourceType { get { if (DataRow[2] != DBNull.Value) return (String)DataRow[2]; else return default(String); } set { DataRow[2] = value; } }
		public String Description { get { if (DataRow[3] != DBNull.Value) return (String)DataRow[3]; else return default(String); } set { DataRow[3] = value; } }
		public String Title { get { if (DataRow[4] != DBNull.Value) return (String)DataRow[4]; else return default(String); } set { DataRow[4] = value; } }
		public String Icon { get { if (DataRow[5] != DBNull.Value) return (String)DataRow[5]; else return default(String); } set { DataRow[5] = value; } }
		public Int32 SubjectId { get { if (DataRow[6] != DBNull.Value) return (Int32)DataRow[6]; else return default(Int32); } set { DataRow[6] = value; } }

		public TResourceDtw()
			:base()
		{
		}

		public TResourceDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_resource]

	#region [usp_get_t_subject]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_subject
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TSubjectDtw : BaseDataTableWrapper
	{
		public Int32 SubjectId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String SubjectName { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public String SubjectIkon { get { if (DataRow[2] != DBNull.Value) return (String)DataRow[2]; else return default(String); } set { DataRow[2] = value; } }
		public String SubjectDescription { get { if (DataRow[3] != DBNull.Value) return (String)DataRow[3]; else return default(String); } set { DataRow[3] = value; } }

		public TSubjectDtw()
			:base()
		{
		}

		public TSubjectDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_subject]

	#region [usp_get_t_subject_course]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_subject_course
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TSubjectCourseDtw : BaseDataTableWrapper
	{
		public Int32 SubjectCourseId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public Int32 SubjectId { get { if (DataRow[1] != DBNull.Value) return (Int32)DataRow[1]; else return default(Int32); } set { DataRow[1] = value; } }
		public Int32 CourseId { get { if (DataRow[2] != DBNull.Value) return (Int32)DataRow[2]; else return default(Int32); } set { DataRow[2] = value; } }

		public TSubjectCourseDtw()
			:base()
		{
		}

		public TSubjectCourseDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_subject_course]

	#region [usp_get_t_user]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_user
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TUserDtw : BaseDataTableWrapper
	{
		public String UserId { get { return (String)DataRow[0]; } set { DataRow[0] = value; } }
		public String FirstName { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public String LastName { get { if (DataRow[2] != DBNull.Value) return (String)DataRow[2]; else return default(String); } set { DataRow[2] = value; } }
		public String Gender { get { if (DataRow[3] != DBNull.Value) return (String)DataRow[3]; else return default(String); } set { DataRow[3] = value; } }
		public String Email { get { if (DataRow[4] != DBNull.Value) return (String)DataRow[4]; else return default(String); } set { DataRow[4] = value; } }
		public String HomeLanguage { get { if (DataRow[5] != DBNull.Value) return (String)DataRow[5]; else return default(String); } set { DataRow[5] = value; } }
		public String Nationality { get { if (DataRow[6] != DBNull.Value) return (String)DataRow[6]; else return default(String); } set { DataRow[6] = value; } }
		public DateTime DateOfBirth { get { if (DataRow[7] != DBNull.Value) return (DateTime)DataRow[7]; else return default(DateTime); } set { DataRow[7] = value; } }
		public String HomeAddress { get { if (DataRow[8] != DBNull.Value) return (String)DataRow[8]; else return default(String); } set { DataRow[8] = value; } }
		public String PostalAddress { get { if (DataRow[9] != DBNull.Value) return (String)DataRow[9]; else return default(String); } set { DataRow[9] = value; } }
		public String City { get { if (DataRow[10] != DBNull.Value) return (String)DataRow[10]; else return default(String); } set { DataRow[10] = value; } }
		public String Country { get { if (DataRow[11] != DBNull.Value) return (String)DataRow[11]; else return default(String); } set { DataRow[11] = value; } }
		public String PostalCode { get { if (DataRow[12] != DBNull.Value) return (String)DataRow[12]; else return default(String); } set { DataRow[12] = value; } }
		public String MedicalAid { get { if (DataRow[13] != DBNull.Value) return (String)DataRow[13]; else return default(String); } set { DataRow[13] = value; } }
		public String MedicalNumber { get { if (DataRow[14] != DBNull.Value) return (String)DataRow[14]; else return default(String); } set { DataRow[14] = value; } }
		public String EthnicGroup { get { if (DataRow[15] != DBNull.Value) return (String)DataRow[15]; else return default(String); } set { DataRow[15] = value; } }
		public String Disabilities { get { if (DataRow[16] != DBNull.Value) return (String)DataRow[16]; else return default(String); } set { DataRow[16] = value; } }
		public String AccountId { get { if (DataRow[17] != DBNull.Value) return (String)DataRow[17]; else return default(String); } set { DataRow[17] = value; } }
		public String Password { get { if (DataRow[18] != DBNull.Value) return (String)DataRow[18]; else return default(String); } set { DataRow[18] = value; } }
		public String Question { get { if (DataRow[19] != DBNull.Value) return (String)DataRow[19]; else return default(String); } set { DataRow[19] = value; } }
		public String Passcode { get { if (DataRow[20] != DBNull.Value) return (String)DataRow[20]; else return default(String); } set { DataRow[20] = value; } }
		public String Status { get { if (DataRow[21] != DBNull.Value) return (String)DataRow[21]; else return default(String); } set { DataRow[21] = value; } }
		public String MarketingMedium { get { if (DataRow[22] != DBNull.Value) return (String)DataRow[22]; else return default(String); } set { DataRow[22] = value; } }
		public String MarketingComment { get { if (DataRow[23] != DBNull.Value) return (String)DataRow[23]; else return default(String); } set { DataRow[23] = value; } }
		public DateTime MarketingDateOfSubmission { get { if (DataRow[24] != DBNull.Value) return (DateTime)DataRow[24]; else return default(DateTime); } set { DataRow[24] = value; } }
		public String OccupationStatus { get { if (DataRow[25] != DBNull.Value) return (String)DataRow[25]; else return default(String); } set { DataRow[25] = value; } }
		public String HighSchoolDetails { get { if (DataRow[26] != DBNull.Value) return (String)DataRow[26]; else return default(String); } set { DataRow[26] = value; } }
		public String Avatar { get { if (DataRow[27] != DBNull.Value) return (String)DataRow[27]; else return default(String); } set { DataRow[27] = value; } }
		public Int32 IsOnline { get { if (DataRow[28] != DBNull.Value) return (Int32)DataRow[28]; else return default(Int32); } set { DataRow[28] = value; } }
		public String ProfileStatus { get { if (DataRow[29] != DBNull.Value) return (String)DataRow[29]; else return default(String); } set { DataRow[29] = value; } }
		public String CellPhone { get { if (DataRow[30] != DBNull.Value) return (String)DataRow[30]; else return default(String); } set { DataRow[30] = value; } }
		public Boolean IsActive { get { if (DataRow[31] != DBNull.Value) return (Boolean)DataRow[31]; else return default(Boolean); } set { DataRow[31] = value; } }
		public String FamilyType { get { if (DataRow[32] != DBNull.Value) return (String)DataRow[32]; else return default(String); } set { DataRow[32] = value; } }
		public String FamilyId { get { if (DataRow[33] != DBNull.Value) return (String)DataRow[33]; else return default(String); } set { DataRow[33] = value; } }

		public TUserDtw()
			:base()
		{
		}

		public TUserDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_user]

	#region [usp_get_t_user_assignment]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_user_assignment
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TUserAssignmentDtw : BaseDataTableWrapper
	{
		public Int32 UserAssignmentId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public Int32 Mark { get { if (DataRow[1] != DBNull.Value) return (Int32)DataRow[1]; else return default(Int32); } set { DataRow[1] = value; } }
		public DateTime SubmitDate { get { if (DataRow[2] != DBNull.Value) return (DateTime)DataRow[2]; else return default(DateTime); } set { DataRow[2] = value; } }
		public String DownloadFile { get { if (DataRow[3] != DBNull.Value) return (String)DataRow[3]; else return default(String); } set { DataRow[3] = value; } }
		public String UploadFile { get { if (DataRow[4] != DBNull.Value) return (String)DataRow[4]; else return default(String); } set { DataRow[4] = value; } }
		public String UserId { get { if (DataRow[5] != DBNull.Value) return (String)DataRow[5]; else return default(String); } set { DataRow[5] = value; } }
		public Int32 AssignmentId { get { if (DataRow[6] != DBNull.Value) return (Int32)DataRow[6]; else return default(Int32); } set { DataRow[6] = value; } }

		public TUserAssignmentDtw()
			:base()
		{
		}

		public TUserAssignmentDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_user_assignment]

	#region [usp_get_t_user_chat_group]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_user_chat_group
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TUserChatGroupDtw : BaseDataTableWrapper
	{
		public Int32 UserChatGroupId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String UserId { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public Int32 ChatGroupId { get { if (DataRow[2] != DBNull.Value) return (Int32)DataRow[2]; else return default(Int32); } set { DataRow[2] = value; } }

		public TUserChatGroupDtw()
			:base()
		{
		}

		public TUserChatGroupDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_user_chat_group]

	#region [usp_get_t_user_group]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_user_group
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TUserGroupDtw : BaseDataTableWrapper
	{
		public Int32 UserGroupId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public String UserId { get { if (DataRow[1] != DBNull.Value) return (String)DataRow[1]; else return default(String); } set { DataRow[1] = value; } }
		public Int32 GroupId { get { if (DataRow[2] != DBNull.Value) return (Int32)DataRow[2]; else return default(Int32); } set { DataRow[2] = value; } }

		public TUserGroupDtw()
			:base()
		{
		}

		public TUserGroupDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_user_group]

	#region [usp_get_t_user_subject]

	/// <summary>
	///This class is a wrapper around a DataTable,
	///Associated with the stored procedure - usp_get_t_user_subject
	///This class provides a strongly typed interface to access data from the DataTable
	///containing the result of the given stored procedure.
	/// </summary>
	public sealed class TUserSubjectDtw : BaseDataTableWrapper
	{
		public Int32 UserSubjectId { get { return (Int32)DataRow[0]; } set { DataRow[0] = value; } }
		public Boolean IsComplete { get { if (DataRow[1] != DBNull.Value) return (Boolean)DataRow[1]; else return default(Boolean); } set { DataRow[1] = value; } }
		public Decimal SubjectMark { get { if (DataRow[2] != DBNull.Value) return (Decimal)DataRow[2]; else return default(Decimal); } set { DataRow[2] = value; } }
		public String UserId { get { if (DataRow[3] != DBNull.Value) return (String)DataRow[3]; else return default(String); } set { DataRow[3] = value; } }
		public Int32 SubjectId { get { if (DataRow[4] != DBNull.Value) return (Int32)DataRow[4]; else return default(Int32); } set { DataRow[4] = value; } }

		public TUserSubjectDtw()
			:base()
		{
		}

		public TUserSubjectDtw(DataRow row)
			:base(row)
		{
		}
	}

	#endregion [usp_get_t_user_subject]

}
